<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>H5Test</title>
    <script type="text/javascript" src="js/jquery.min.js"></script>
</head>
<body>
    你好，这个是H5测试页面

    <div>
            <span id="msg"></span>
    </div>

    <script type="text/javascript">

        window.onload  = function(){

            document.querySelector("#msg").innerHTML = "<h1>www.baidu.com</h1>";

        }


    </script>


</body>
</html>